package service.impl.v2;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

import dao.v2.ConfigVOMapper;
import dao.v2.MemberChildVOMapper;
import service.v2.MemberChildService;
import util.WeixinUtil;

@Service
public class MemberChildServiceImpl implements MemberChildService {

	@Autowired
	private MemberChildVOMapper dao;
	
	@Autowired
	private ConfigVOMapper configVOMapper;

	public void insertOpenIdAndMemberId(String open_id, String member_id) {
		dao.insertOpenIdAndMemberId(open_id,member_id);
	}

	public int selectCheckOpenId(String open_id) {
		return dao.selectCheckOpenId(open_id);
	}

	public void test1() {
		configVOMapper.TestTrasnaction();
		String a = "";
		Integer.parseInt(a);
	}

}
